<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>@yield('title', '卖家中心')</title>
    <meta name="keywords" content="@yield('keywords', setting('keywords'))">
    <meta name="description" content="@yield('description', setting('description'))">
    <meta name="render" content="webkit">
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="csrf-token" content="{{ csrf_token() }}">
    <link href="{{asset('images/common/favicon.png')}}" rel="icon">
    <link href="{{asset('css/seller.css?v='.time())}}" rel="stylesheet" type="text/css">
    @yield('styles')
    <script src="{{asset('js/base.js')}}" type="text/javascript"></script>
    <script src="{{asset('js/vue.min.js')}}" type="text/javascript"></script>
    @yield('scripts')
</head>
<body>
@include('common.top')

<div class="header">
    <div class="area header-wrap">
        <strong class="logo"><img src="{{asset('images/common/maijia_logo.png')}}"></strong>
        <div class="nav">
            <a href="{{url('/seller')}}">首页</a>
            <a href="{{url('/seller/shop')}}">基本设置</a>
            <a href="{{url('/seller/shop/auth')}}">店铺认证</a>
        </div>
    </div>
</div>

<div class="area main">
    <div class="menu">
        <div class="content">
            <div class="menu-list">
                <dl>
                    <dd><a><i class="iconfont icon-shopfill"></i>我的店铺</a></dd>
                    <dt>
                        <ul>
                            <li><a href="{{url('/seller/shop')}}" class="{{$menu == 'shop_set' ? 'cur' : ''}}">资料设置</a></li>
                            <li><a href="{{url('/seller/shop/auth')}}" class="{{$menu == 'shop_auth' ? 'cur' : ''}}">店铺资质</a></li>
                            <li><a href="{{url('/seller/kefu')}}" class="{{$menu == 'kefu' ? 'cur' : ''}}">客服管理</a></li>
                            {{--<li><a href="{{url('/seller/analyse')}}" class="{{$menu == 'analyse' ? 'cur' : ''}}">数据统计</a></li>--}}
                        </ul>
                    </dt>
                </dl>

                <dl>
                    <dd><a><i class="iconfont icon-presentfill"></i>宝贝管理</a></dd>
                    <dt>
                        <ul>
                            <li><a href="{{url('/seller/item/sell')}}"@if($menu==='sell') class="cur"@endif>发布宝贝</a></li>
                            <li><a href="{{url('/seller/item?status=onSale')}}"@if($menu==='on_sale_item') class="cur"@endif>出售中的宝贝</a></li>
                            <li><a href="{{url('/seller/item?status=offSale')}}"@if($menu==='off_sale_item') class="cur"@endif>仓库中的宝贝</a></li>
                        </ul>
                    </dt>
                </dl>
                <dl>
                    <dd><a><i class="iconfont icon-moneybagfill"></i>交易管理</a></dd>
                    <dt>
                        <ul>
                            <li><a href="{{url('seller/trade/sold')}}"@if($menu==='sold_items') class="cur"@endif>已卖出的宝贝</a></li>
                            {{--<li><a href="{{url('seller/kuaidi')}}"@if($menu==='kuaidi') class="cur"@endif>电子面单</a></li>--}}
                        </ul>
                    </dt>
                </dl>
            </div>
        </div>
    </div>
    <div class="frame">
        <div class="frame-content">
            @yield('content', '')
        </div>
    </div>
</div>
@include('common.footer')
@yield('foot')
</body>
</html>
